package com.xuchy.designpattern.factory.factoryMethod;

import com.xuchy.designpattern.factory.simplefactory.IFood;
import com.xuchy.designpattern.factory.simplefactory.Potato;

/**
 * @author xuchy
 * @Date 2019/11/5 23:22
 */
public class PotatoFactory implements FoodFactory {

    @Override
    public IFood makeFood() {
        return new Potato();
    }
}
